﻿using System.ComponentModel;
using YNTK.Dependency;

namespace YNTK.Common.Enum
{
    /// <summary>
    /// 上传文件类型
    /// </summary>
    [SuppressSniffer]
    public enum UploadFileType
    {
        /// <summary>
        /// 用户头像
        /// </summary>
        [Description("用户头像")]
        userAvatar = 0,
        /// <summary>
        /// IM内容文件
        /// </summary>
        [Description("IM内容文件")]
        IM = 1,
        /// <summary>
        /// 微信公众号资源
        /// </summary>
        [Description("微信公众号资源")]
        weixin = 2,
        /// <summary>
        /// 工作流
        /// </summary>
        [Description("工作流")]
        workFlow = 3,
        /// <summary>
        /// 附件
        /// </summary>
        [Description("附件")]
        annex = 4,
        /// <summary>
        /// 附件图片
        /// </summary>
        [Description("附件图片")]
        annexpic = 5,
        /// <summary>
        /// 文档管理
        /// </summary>
        [Description("文档管理")]
        document = 6,
        /// <summary>
        /// 文件在线预览PDF
        /// </summary>
        [Description("文件在线预览PDF")]
        preview = 7,
        /// <summary>
        /// 邮件文件
        /// </summary>
        [Description("邮件文件")]
        mail = 8,
        /// <summary>
        /// 数据备份
        /// </summary>
        [Description("数据备份")]
        dataBackup = 9,
        /// <summary>
        /// 截图
        /// </summary>
        [Description("截图")]
        screenShot = 10,
        /// <summary>
        /// banner
        /// </summary>
        [Description("banner")]
        banner = 11,
        /// <summary>
        /// bg
        /// </summary>
        [Description("bg")]
        bg = 12,
        /// <summary>
        /// border
        /// </summary>
        [Description("border")]
        border = 13,
        /// <summary>
        /// source
        /// </summary>
        [Description("source")]
        source = 13,
        /// <summary>
        /// 模板
        /// </summary>
        [Description("模板")]
        template = 14,
        /// <summary>
        /// 生成代码
        /// </summary>
        [Description("生成代码路径")]
        codeGenerator = 15,
        /// <summary>
        /// 临时文件
        /// </summary>
        [Description("临时文件")]
        temporary = 16,
        /// <summary>
        /// 组织log
        /// </summary>
        [Description("bg")]
        orglog = 17,
        /// <summary>
        /// 组织文件
        /// </summary>
        [Description("组织文件")]
        org = 18
    }
}
